<template>
    <div class="certification">
        <div class="info">
            <group>
                <x-input title="真实姓名" label-width="7em" class="family-name" placeholder="请填写您的真实姓名" :required=true></x-input>
            </group>
            <group>
                <x-input title="身份证号" :max="18" label-width="7em" placeholder="请填写您的身份证号" :required=true></x-input>
            </group>
        </div>
        <div class="submit-btn">
          <x-button type="primary">提交</x-button>
          <div class="annotation">
              <span>提交成功后，进入芝麻认证服务</span>
          </div>
        </div>
    </div>
</template>

<script>
import { XInput, Group, XButton } from "vux";

export default {
  name: "Certification",
  components: {
    XInput,
    Group,
    XButton
  }
};
</script>

<style lang="less">
.certification {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  .info {
    margin-top: 40px;
    padding: 0 15px;
  }
  .submit-btn {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .annotation {
    text-align: center;
    margin-top: 11px;
    span {
      color: rgba(152, 152, 152, 1);
      font-size: 11px;
      font-family: -apple-system;
    }
  }
}

button.weui-btn {
  height: 39px;
  width: 186px !important;
  border-radius: 22px;
  background-color: rgba(255, 112, 0, 1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0);
  line-height: 22px;
}
.weui-btn_primary:not(.weui-btn_disabled):active {
  color: #fff !important;
  background-color: rgba(255, 112, 0, 1) !important;
  line-height: 22px;
}
.weui-cells:before {
  border-top: none !important;
}
input::-webkit-input-placeholder {
  font-size: 12px;
  color: #989898;
}
</style>
